package ch5;

public class User {
    private String username;
    private String password;
    private boolean VIP; // 用来标识是否为VIP用户

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isVIP() {
        return VIP;
    }

    public void setVIP(boolean VIP) {
        this.VIP = VIP;
    }

    //    @Override
//    public String toString() {
//        return "User{}";
//    }
}